#define  _CRT_SECURE_NO_WARNINGS
#include"seqlist.h"
int main()
{
	SL s;
	SLinit(&s);
	SLPushBack(&s, 1);
	SLPushBack(&s, 2);
	SLPushBack(&s, 3);
	SLPushBack(&s, 4);
	SLPushFront(&s, 5);
	SLPopBack(&s);
	SLErase(&s, 2);
	int pos = SLFind(&s, 3);
	if (pos != -1)
	{
		SLErase(&s, pos);
	}
	SLPrint(&s);
	SLD(&s);
	return 0;
}